package com.mf.entity.req.basic.search;

import com.mf.entity.req.basic.reqPublic.ReqPublicPaging;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;
    import java.io.Serializable;

import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 *  接口调用记录查询条件
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SearchReqApiLog extends ReqPublicPaging implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "关键值")
    private String key;

                                        @Schema(description = "操作描述")
                        private String operation;
                            @Schema(description = "方法名（类名+方法名）")
                        private String method;
                            @Schema(description = "请求参数（JSON格式）")
                        private String params;
                            @Schema(description = "调用者IP")
                        private String ip;
                            @Schema(description = "执行耗时（毫秒）")
                        private Integer duration;
                            @Schema(description = "是否发生异常")
                        private Integer hasException;
                            @Schema(description = "异常信息")
                        private String exceptionMsg;
                            @Schema(description = "调用者帐号")
                        private String douser;
                                }
